- if issuable_sidebar[:supports_epic]
  - if issuable_sidebar[:features_available][:epics]
    .block.epic{ data: { testid: 'sidebar-epic' } }
      .js-sidebar-epic-widget-root{ data: { can_edit: can_admin_issue?.to_s, group_path: group_path, project_path: project_path, issue_iid: issue_iid } }

  - else
    = render 'shared/promotions/promote_epics'
